import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SRedEnvelopeRewardInfo
    
    export  class SRedEnvelopeRewardInfo
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.type);
            arg1.writeInt(this.min);
            arg1.writeInt(this.max);
            arg1.writeInt(this.itemCode);
            arg1.writeInt(this.num);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.type = arg1.readInt();
            this.min = arg1.readInt();
            this.max = arg1.readInt();
            this.itemCode = arg1.readInt();
            this.num = arg1.readInt();
            return;
        }

        public /* var */type: int;

        public /* var */min: int;

        public /* var */max: int;

        public /* var */itemCode: int;

        public /* var */num: int;
    }
